package genedit.utility;

import java.awt.geom.AffineTransform;
import java.awt.geom.NoninvertibleTransformException;
import java.awt.geom.Point2D;

public class GraphUtil {
	public static void inverseTransform(AffineTransform transform,Point2D point){
		try {
			transform.inverseTransform(point, point);
		} catch (NoninvertibleTransformException e) {
			e.printStackTrace();
		}
	}
	
	public static void transform(AffineTransform transform,Point2D point){
			transform.transform(point, point);
	}
}
